package com.yeqifu.bus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * InnoDB free: 9216 kB
 * </p>
 *
 * 供应商实体类
 * @author 艾琦
 * @since 2020-12-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bus_provider")
@ToString
public class Provider implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键，供应商编号
     * */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer id;

    /**
     * 供应商名称
     * */
    @ApiModelProperty(value = "名称")
    private String providername;

    /**
     * 邮编
     * */
    @ApiModelProperty(value = "邮编")
    private String zip;

    /**
     * 供应商地址
     * */
    @ApiModelProperty(value = "地址郑智伟 我爱你 艾琦 我爱你 郑智伟")
    private String address;

    /**
     * 电话
     * */
    @ApiModelProperty(value = "电话")
    private String telephone;

    /**
     * 联系人名称
     * */
    @ApiModelProperty(value = "联系人")
    private String connectionperson;

    /**
     * 联系人电话
     * */
    @ApiModelProperty(value = "联系人电话")
    private String phone;

    /**
     * 银行名称
     * */
    @ApiModelProperty(value = "银行")
    private String bank;

    /**
     * 银行账号
     * */
    @ApiModelProperty(value = "银行账号")
    private String account;

    /**
     * 联系邮箱
     * */
    @ApiModelProperty(value = "邮箱")
    private String email;

    /**
     * 联系传真
     * */
    @ApiModelProperty(value = "传真")
    private String fax;

    /**
     * 是否可用
     * */
    @ApiModelProperty(value = "是否可用")
    private Integer available;

}
